package models

import (
	db "hulk-api/databases"
)


type TemPath struct {
	Name string			`json:"name"`
	Path string 		`json:"path"`
}




func (t TemPath) AddTemplate() (   err error) {
	_, err = db.SqlDB.Exec("insert into template(name,path) values(?,?)", t.Name,t.Path)
	return

}